package com.srp.backend.entity;

import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import lombok.*;

/**
 * PDF 解析结果实体类
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString(exclude = "content")
public class PdfParseResult implements Serializable {
    //主键，数据库自增
    private Long id;

    //文件路径
    private String filePath;

    //解析状态
    private String status;

    //解析内容
    private String content;

    //记录创建时间，默认为当前时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


}
